<?php
class Dbo_DbDetails {
/*	
	protected $arrDbDettails = array ("PRODUCTION" => array (
												 "server" => "localhost",
												 "username" => "adwaysdb",
												 "password" => "bismillahi",
												 "database" => "adways" ), 

									  "SERVER" => array (
									  			 "server" => "localhost", 
									  			 "username" => "adwaysdb",
												 "password" => "bismillahi",
												 "database" => "adways")

	 								);
	 								
*/
	protected $arrDbDettails = array ("PRODUCTION" => array (
												 //"server" => "216.172.181.100",
												  "server" => "216.172.181.100",
												 "username" => "ipath_user1",
												 "password" => "ipath123456",
												 "database" => "ipath_demo1" ), 

									  "SERVER" => array (
									  			 "server" => "216.172.181.100", 
									  			 "username" => "ipath_user1",
												 "password" => "ipath123456",
												 "database" => "ipath_demo1")

	 								);	 
																	
	public function getDbDetails(){
		return $this->arrDbDettails;
	} 								

	public static function getDbInfo($strKey){
		
		$objDbDetails=new self();
		$arrDetails=$objDbDetails->getDbDetails();
		return $arrDetails[$strKey];
	}
}